package org.snaker.engine.parser.xml;

import org.snaker.engine.parser.AbstractNodeParserProvider;
import org.snaker.engine.parser.xml.node.CustomParser;
import org.snaker.engine.parser.xml.node.DecisionParser;
import org.snaker.engine.parser.xml.node.EndParser;
import org.snaker.engine.parser.xml.node.ForkParser;
import org.snaker.engine.parser.xml.node.JoinParser;
import org.snaker.engine.parser.xml.node.StartParser;
import org.snaker.engine.parser.xml.node.SubProcessParser;
import org.snaker.engine.parser.xml.node.TaskParser;
import org.w3c.dom.Element;


public class XmlNodeParserProvider extends AbstractNodeParserProvider<Element> {

    public XmlNodeParserProvider() {

        this.addProvider("start", new StartParser());
        this.addProvider("task", new TaskParser());
        this.addProvider("custom", new CustomParser());
        this.addProvider("decision", new DecisionParser());
        this.addProvider("subprocess", new SubProcessParser());
        this.addProvider("fork", new ForkParser());
        this.addProvider("join", new JoinParser());
        this.addProvider("end", new EndParser());
    }
}
